Welcome![Sign In][Sign Up]
Location:
Search - linux c socket

Search list

[Linux-UnixLinux-MAC20081224

Description: 在linux下,c语言编写,可以根据对方的IP,查看其MAC地址,也可以扫描局域网在线IP的MAC和主机名。原理:建立socket ,构造netbios-ns包,循环sendto()把数据发送给对方并recvfrom()读取返回信息。根据返回的netbios回应包,读取对方的主机名,组名和mac地址。 显示结果如下: IP: 192.168.116.124 Host Name: BRN_8EEE6A/BRN_8EEE6A MAC: 00-80-77-8E-EE-6A IP: 192.168.116.130 Host Name: XIAOXIAO/MSHOME MAC: 00-12-3F-D5-5E-A6 IP: 192.168.116.131 Host Name: NA MAC: NA [time out!] 一个网段扫描MAC,可以建立一个socket,连续向多个不同IP发送NBNS包,然后等待接受,根据返回包就可以扫描一个网段多个IP的MAC啦。 而windows下可以运行命令:nbtstat -A ip-address来查看 windows c 要改改头文件 -C language, based on each other s IP, to see its MAC address, can also scann more online IP-LAN MAC and host name. Principle: To establish a socket, constructed netbios-ns package, cycle to use sendto () function sent the data to the other side , and use recvfrom () to read back-information. Netbios respond in accordance with the return package, read each other s host name, group name and mac address.
Platform: | Size: 14336 | Author: darinwang | Hits:

[Internet-NetworkLinux-Unix

Description:
Platform: | Size: 10244096 | Author: 赵甲 | Hits:

[Internet-Networksocketclientserverc

Description: simple client/server in socket and fifo in c better run in linux.
Platform: | Size: 2048 | Author: harish | Hits:

[Internet-NetworkSOCKET-Linux

Description: 该程序包详细讲述了Linux环境下的Socket编程,是初学者学习网络编程的佳品!- It is Good for you to study Socket!
Platform: | Size: 23552 | Author: tfg | Hits:

[Internet-Networkcs

Description: linux环境下的tcp/ip socket编程-linux environment tcp/ip socket programming
Platform: | Size: 13312 | Author: fortitude | Hits:

[Linux-UnixclientServer_linux_multithread

Description: Linux下server与client的通信实现。Server支持多线程。附有makefile可供编译。Linux下调试通过。-Under Linux the server and client communication. Server support for multi-threaded. A makefile for compiling. The adoption of Linux under the debugger.
Platform: | Size: 11264 | Author: joe | Hits:

[Linux-Unixipc

Description: Linux IPC (message queue, pipe, sharememory, semaphore, signal and socket) examples
Platform: | Size: 718848 | Author: Ricky | Hits:

[Internet-Networksocket_raw.c.tar

Description: this is an raw socket usage, you must have root previledge to use this .
Platform: | Size: 2048 | Author: kramer | Hits:

[Linux-Unixsocket-example

Description: Linux网络编程中的一些高级应用程序的源代码 大家可以对照参考《linux高级编程》一书的十四章来看 讲的很不错
Platform: | Size: 10240 | Author: 韩佳楠 | Hits:

[Linux-Unixtest_socket

Description: 一个LINUX下的套接字编程示例c源,基于C/S模式.-A LINUX programming examples c socket under the source, based on C/S mode.
Platform: | Size: 6144 | Author: jackhebe | Hits:

[Internet-Networksocketlite

Description: 一个轻量级的C++跨平台(window/linux)网络编程框架。它简化了Socket异步事件分派、进程间Socket通信的并发OO网络应用和服务的开发。socketlib(已停止开发)的替代库。项目网址:http://code.google.com/p/socketlite-a lightweight C++ socket network framework. It simplifies the development of OO socket network applications and services that utilize socket communication, socket event demultiplexing, concurrency. socketlite is targeted for developers of high-performance socket network communication services and applications. project website:http://code.google.com/p/socketlite
Platform: | Size: 100352 | Author: bolidezhang | Hits:

[Internet-NetworkfileTransServer

Description: linux下利用socket c语言编写的文件传输服务器和客户端,有流程图和注释,适合socket学习者~-under linux using socket c language file transfer server and client, with flow charts and notes, suitable for socket learners ~
Platform: | Size: 745472 | Author: Boycott | Hits:

[Internet-NetworktimeServer

Description: linux下利用socket c语言编写的时间同步服务器和客户端,有流程图和注释,适合socket学习者~-under linux using socket c language time synchronization server and client, with flow charts and notes, suitable for socket learners ~
Platform: | Size: 791552 | Author: Boycott | Hits:

[Internet-Network62

Description: Linux 网络编程 使用Linux C++ Socket 实现网络通讯 -Linux Network Programming using Linux C++ Socket realize network communication
Platform: | Size: 1024 | Author: y | Hits:

[Internet-Network63

Description: Linux 网络编程 使用Linux C++ Socket 实现网络通讯 -Linux Network Programming using Linux C++ Socket realize network communication
Platform: | Size: 2048 | Author: y | Hits:

[Internet-Network65

Description: Linux 网络编程 使用Linux C++ Socket 实现网络通讯 -Linux Network Programming using Linux C++ Socket realize network communication
Platform: | Size: 2048 | Author: y | Hits:

[Internet-Networkftpclient1

Description: C program for a FTP Client Done in Fedora 7(Linux) using Socket Programming
Platform: | Size: 1024 | Author: pagal | Hits:

[Internet-Networkftpserver1

Description: C program for a FTP server Done in Fedora 7(Linux) using Socket Programming
Platform: | Size: 1024 | Author: pagal | Hits:

[OtherLinux_C_programe

Description: LINUX下C编程电子书 第 1章 编译与调试 第 2章 C语言基础 第 3章 C程序的常用语句 第 4章 数组与指针 第 5章 函 数 第 6章 字符与字符串处理 第 7章 结构体 第 8章 时间函数 第 9章 目录与文件 第 10章 文件I O 第 11章 网络编程 第 12章 无连接的套接字通信 第 13章 面向连接的套接字通信-LINUX programming books under the C compiler and debugging Chapter 1 Chapter 2 Chapter 3 of C language based on a common statement C program array and pointer Chapter 4 Chapter 5 Chapter 6 character and function of the string handling Chapter 7 Article structure Chapter 8 Chapter 9 function of time directory and file IO file Chapter 10 Chapter 11 Chapter 12 non-network programming to connect the socket communication Chapter 13 of the socket connection-oriented communication
Platform: | Size: 4742144 | Author: ali | Hits:

[OtherQue-Linux-Socket-Programming

Description: linux socket编程英文版教材。相关的介绍比较深透,不大适合初学者,较适合socket编程提高使用。-linux socket programming English teaching materials. Introduction of more relevant the deep, not for beginners, more suited to improve the use of socket programming.
Platform: | Size: 1658880 | Author: zhoujinfeng | Hits:
« 1 2 3 4 5 67 8 9 10 11 ... 17 »

CodeBus www.codebus.net